package com.csnf.service;

import csnf.com.entity.Goods;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.ArrayList;

public interface GoodsService {
    int insert(Goods record);

    ArrayList<Goods> selectAll(@RequestParam(required = false) Integer id);
    int updateSaleStatus(Goods record);
}
